package com.example.SpringBoot_demo.service;

import com.example.SpringBoot_demo.bean.Notice;

import java.sql.Timestamp;
import java.util.List;

/**
 * Creat by wsn on 2021/7/21 10:44
 */
public interface INoticeService {
    List<Notice> GetAllnotice(int startRow,int pageSize);
    void noticeinsert(String adminid, String adminname, String noticecontents, Timestamp noticedate);
//    Notice noticeinsert(Notice notice);
    int delete(Integer noticeid);
    void update(Notice notice);
    Notice findNoticeById(int noticeid);
    void freshAllNoticeID1(Notice notice);
    void freshAllNoticeID2(Notice notice);
    int total(int pageSize);

}
